<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" template="/template/template_dialog.xhtml">
	<ui:define name="head">
		<title>#{lang.WangQiGuZhangFanKui}</title>
		<link rel="stylesheet" href="/resources/plugins/datatables/dataTables.bootstrap.css" />
		<link href='/resources/bootstrap/css/bootstrap-datetimepicker.min.css' rel='stylesheet' />
		<style>
</style>
	</ui:define>
	<ui:define name="content">
		<nav class="navbar navbar-default">
			<form class="navbar-form navbar-left">
				<div class="btn btn-default">
					<i class="fa fa-calendar"></i>
				</div>
				<div class="form-group">
					<input type="text" class="form-control" id="start" /> <input class="form-control" type="text"
						id="end" />
				</div>
				<div class="btn btn-default" onclick="query()">#{lang.ChaXun}</div>
			</form>
		</nav>
		<div class="nav-tabs-custom">
			<div class="tab-content" style="padding-left: 20px; padding-right: 20px;">
				<table id="datatable" style="width: 100%;" class="table table-gray">
					<thead>
						<tr>
							<th>#{lang.XuHao}</th>
							<th>#{lang.DiaoGuanFanWei}</th>
							<th>#{lang.GuZhangShiJian}</th>
							<th>#{lang.GuZhangSheBei}</th>
							<th>#{lang.LeiJiDingWeiXiTongJiLu}</th>
							<th>#{lang.XunXianJieGuo}</th>
						</tr>
					</thead>
					<tbody id="tableBody">
						<tr id="emptyMessage" class="odd">
							<td valiagn="top" colspan="6" class="dataTables_empty">#{lang.BiaoZhongShuJuWeiKong}</td>
						</tr>
						<tr class="NotEmptyMessage" v-for="site in sites">
							<td>{{site.XuHao}}</td>
							<td>{{site.subControlArea}}</td>
							<td>{{site.faultTime}}</td>
							<td>{{site.faultEquiment}}</td>
							<td>{{site.lightningGPS}}</td>
							<td>{{site.linePatrolReasult}}</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>

		<h:inputHidden id="startTime" value="#{request.getParameter('startTime')}" />
		<h:inputHidden id="endTime" value="#{request.getParameter('endTime')}" />
	</ui:define>
	<ui:define name="contentend">
		<script src="/resources/js/tables/mytable.js"></script>
		<script src="/resources/plugins/datatables/jquery.dataTables.min.js"></script>
		<script src="/resources/plugins/datatables/dataTables.bootstrap.min.js"></script>
		<script src="/resources/bootstrap/js/bootstrap-datetimepicker.min.js"></script>
		<script src="/resources/bootstrap/js/bootstrap-datetimepicker.min.js"></script>
		<script src="/resources/plugins/vue/vue.js"></script>
		<script src="/resources/plugins/vue/vue.min.js"></script>
		<script src="/resources/js/date-util.js"></script>
		<script src="dailyHistoryFaultFeedback.js"></script>
		<script>
			$(function() {
				init();
			});
		</script>
	</ui:define>
</ui:composition>



